<?php
/**
 * Created by PhpStorm.
 * User: jksen
 * Date: 2018/1/29
 * Time: 下午5:05
 */

namespace app\common\ShaoHuoPay\Contracts;


interface GatewayInterface
{
    /**
     * @param $endpoint
     * @param array $payload
     * @return mixed
     */
    public function pay($endpoint, array $payload);
}